package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Date;

@ApiModel
@Data
public class Stock4NewRtDomain {

    //最新交易量
    @ApiModelProperty(value = "最新交易量", position = 1)
    private Long tradeAmt;

    //前收盘价格
    @ApiModelProperty(value = "前收盘价格", position = 2)
    private BigDecimal preClosePrice;

    //最低价
    @ApiModelProperty(value = "最低价", position = 3)
    private BigDecimal lowPrice;

    //最高价
    @ApiModelProperty(value = "最高价", position = 4)
    private BigDecimal highPrice;

    //开盘价
    @ApiModelProperty(value = "开盘价", position = 5)
    private BigDecimal openPrice;

    //交易金额
    @ApiModelProperty(value = "交易金额", position = 6)
    private Long tradeVol;

    //当前价格
    @ApiModelProperty(value = "当前价格", position = 7)
    private BigDecimal tradePrice;

    //当前日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "当前日期", position = 8)
    private Date curDate;



}
